package com.mz.mattress.api.common;

public interface Constants {

    String REQUEST_TOKEN = "request_token";
    String REQUEST_IP = "request_ip";
    String REQUEST_URL = "request_url";
    String REQUEST_METHOD = "request_method";
    String REQUEST_ARGS = "request_args";
    String RESPONSE_TIME = "response_time";
    String RESPONSE_CONTENT = "response_content";

    String LOGIN_TOKEN_KEY = "AToken";

    String ENCODE = "UTF-8";
    String JSON = "json";
    String RSA2 = "RSA2";
    String CONTENT_TYPE = "text/html;charset=UTF-8";

    String AVATAR = "https://img.hwhautomall.com/169673231621977.png";

    String REQUEST_ID = "1";
    String ADMIN = "admin";

    String PROD = "prod";
    String TEST = "test";
    String DEV = "dev";

    // 商家端和销售端请求前缀
    String MERCHANT_PATH = "/merchant/";

    //  管理端请求前缀
    String ADMIN_PATH = "/admin/";

    String CLIENT = "client";
    String MERCHANT = "merchant";

    String DEFAULT_PAGE = "pages/index/index";

    String WX_DEVICE_PAGE = "pages/device/deviceIndex/deviceIndex";

    //  超管角色名
    String SUPER_ADMIN_ROLE_NAME = "超级管理员";
    Integer SUPER_ADMIN_ROLE_ID = 1;

    //平台会员ID
    Long SYS_MEMBER_ID = 0L;
    // 平台商家ID
    Integer SYS_MERCHANT_ID = 0;

    int ROLE_SYS = 0;
    int ROLE_MERCHANT = 1;
    int ROLE_SALE = 2;
    int ROLE_SUB_SALE = 3;
    // 投资商
    int ROLE_INVESTOR = 4;


    //返回全部门店
    Integer TYPE_ID_ALL = 0;
    //没找到商家或销售
    Integer TYPE_ID_NOT_FIND = -1;

    Integer CHECK_PASS = 1;

    Integer CHECK_FAIL = 2;

    //系统默认佣金比例
    Integer DEFAULT_SALE_BONUS_RATIO = 3;
    Integer DEFAULT_MERCHANT_BONUS_RATIO = 50;


    //支持换行符，逗号分隔
    String TXT_SPLIT = "\n|\r\n|,|，";

//    String DEFAULT_PWD = "123456";
    String DEFAULT_PWD = "meizhong2025";

}
